﻿using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace TheDarkKnight {
    public abstract class TempletObjectBase : ScriptableObject
    {

        public string TypeName;

        public string ModelName;

        public List<VerticesData> Vectices;

        public List<TriangelData> Triangles;

        public Material SurfaceMaterial;

        public Material SectionMaterial;

        public object AssetDatabase { get; set; }

        [Serializable]
        public class VerticesData
        {
            public Vector3 Vertices;

            public Vector2 UV;

            public Vector3 Normal;
        }

        [Serializable]
        public class TriangelData
        {

            public int FirstVertice;

            public int SecondVertice;

            public int ThridVertice;
        }


    }

}

